package com.dongdongshop.service.Brand;

import com.dongdongshop.data.Page;
import com.dongdongshop.pojo.brand.TbBrand;

import java.util.List;

public interface BrandService {

    Page<TbBrand> getBrandInfo(Integer pageNum, Integer pageSize);

    void addBrand(TbBrand b);

    TbBrand getBrandById(Long id);

    void updateBrandById(TbBrand b);

    void deleteBrandById(Long id);

    List<TbBrand> findBrandsAll();
}
